package com.atguigu.gulimall.order.constant;

public class OrderConstant {

    public static final String USER_ORDER_TOKEN = "order:token:";

    /**
     * 订单创建成功
     */
    public static final int ORDER_SUBMIT_SUCCESS = 0;

    /**
     * 订单防重令牌校验失败
     */
    public static final int ORDER_TOKEN_CHECK_FAIL = 1;

    /**
     * 订单总价校验失败
     */
    public static final int ORDER_PRICE_CHECK_FAIL = 2;

    /**
     * 订单库存锁定失败
     */
    public static final int ORDER_WARE_STOCK_LOCK_FAIL = 3;
}
